package cn.matezk.lianlian;

import cn.matezk.lianlian.framework.PaymentConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@ComponentScan("cn.matezk.lianlian")
@MapperScan("cn.matezk.lianlian.dao")
@EnableConfigurationProperties(PaymentConfiguration.class)
@EnableCaching
@EnableScheduling
@SpringBootApplication
public class AppStartup {
    public static void main(String[] args) {
        SpringApplication.run(AppStartup.class, args);
    }
}
